package org.timemachine.generator.spi;

import java.util.Map;

import javassist.CannotCompileException;
import javassist.CtClass;
import javassist.CtField;
import javassist.bytecode.ConstPool;
import javassist.bytecode.annotation.Annotation;
import javassist.bytecode.annotation.MemberValue;

public interface AnnoGenerator {

	Annotation createAnnotation(ConstPool cp, String ann, Map<String, MemberValue> params);
	void createManyToOneAnno(CtField beginChgField) throws CannotCompileException;
	void createChangeIdAnnoAttr(CtField changeIdField);
	void createChangeClassAnnoAttr(CtClass cc);
	
}
